﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using MF.BO.Objects;

namespace MF.WCF.Core
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMFActivity" in both code and config file together.
    [ServiceContract]
    public interface IMFActivity
    {
        [OperationContract]
        List<ActivityItem> GetAllActivity();

        [OperationContract]
        ActivityItem GetActivityItemById(long ID);

        [OperationContract]
        int Insert(ActivityItem toInsert);

        [OperationContract]
        int Update(ActivityItem toUpdate);

        [OperationContract]
        int Delete(int idToDelete);
    }
}
